#ifndef SETFRIENDNICKNAME_H
#define SETFRIENDNICKNAME_H

#include <QMainWindow>
# include <QTcpSocket>
#include <QMainWindow>
#include <QDebug>
#include <QDialog>
#include <QTcpSocket>
#include <QMessageBox>
#include <QListWidget>
#include<QListWidgetItem>
#include "uidesign.h"

namespace Ui {
class setFriendNickname;
}

class setFriendNickname : public QMainWindow
{
    Q_OBJECT

public:
    explicit setFriendNickname(QWidget *parent = 0);
    explicit setFriendNickname(QString name, QString ID, QWidget *parent = 0);
    ~setFriendNickname();

private slots:
    void on_submit_clicked();

private:
    Ui::setFriendNickname *ui;
    QString uName;
    QString unId;
signals:
    void signalSetFriendNickname(QString, QString, QString);
};

#endif // SETFRIENDNICKNAME_H
